Leaflet Maps

Local Population


Commentary

This is our commentary section where you can add simple, unformatted text to your map. As standard, this section is set to a width of 250 but I tailored this to 400. In flexdashboard, you have a range of options for setting sizing (see here).

Empty lines are accepted in your Commentary section but other items may be ignored if you are not careful, such as a random linebreak in a sentence;

If you want to add more detail you can use basic markdown tools like bold or italic. Or you can write HTML that will further customise your text using the HTML function;

This is a Title

By mixing in HTML tags, you can tailor the commentary section, which otherwise would be simple text.

You can also include HTML CSS that will make the buttons smaller in storyboard layout

.

You can even add bulleted lists…

  • Item one
    • sub one

And ordered lists…

  1. Item 1
  2. Item 2
  3. Item 3
    • Item 3a
    • Item 3b

But be careful as some markdown formatting will conflict with flexdashbaord. For example, this commentary section will continue until a new page (=======) or container/section (###) is specified. The specifier (###) in flexdashboard is also a heading specifier in markdown, so R gets confused if you add #s at the start of a line in storyboard commentary.

I hope you find this useful!

Anthony